import http from '../request.js'

// 测试登录接口
// export const Login = user => http.post('/user/login', user)

export default {
	getVideoDetail: params => http.get('/api/video/getCartoonDetail', {
		params
	}), //获取视频详情
	getChapter: params => http.get('/api/video/getChapterList', {
		params
	}), //获取剧集
	getVideoPage: params => http.get('/api/video/getVideoPage', {
		params
	}), //获取播放链接
	getVideoCategory: params => http.get('/api/video/getCtcategory', {
		params
	}), //获取剧集分类
	getVideoList: params => http.get('/api/video/getCartoonList', {
		params
	}), //获取影视列表
}
